<html>
<head><meta charset="utf-8"><title>Failed to deserialize InitializeParams · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html">Failed to deserialize InitializeParams</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="220777855"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220777855" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220777855">(Dec 23 2020 at 10:42)</a>:</h4>
<p>what kind of information would an issue need about "Failed to deserialize InitializeParams: invalid type: map, expected a boolean" on startup in vscode ? there were a few of those issues recently but none for the boolean vs map combination. is there a workaround maybe ? like downgrading the r-a server or plugin ?</p>



<a name="220778388"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220778388" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220778388">(Dec 23 2020 at 10:50)</a>:</h4>
<p><span class="user-mention" data-user-id="116113">@lqd</span> the first thing to look at would be logs: <code>RA_LOG=rust-analyzer=info</code></p>



<a name="220778536"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220778536" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220778536">(Dec 23 2020 at 10:52)</a>:</h4>
<p>I'll try to extract the logs</p>



<a name="220778806"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220778806" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220778806">(Dec 23 2020 at 10:57)</a>:</h4>
<p>where would I find these ? somewhere on the filesystem or one of vscode output panes ?</p>



<a name="220778878"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220778878" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220778878">(Dec 23 2020 at 10:58)</a>:</h4>
<p><a href="/user_uploads/4715/iZFyBKvOvarXYC8Bv1kMYEpg/image.png">image.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/iZFyBKvOvarXYC8Bv1kMYEpg/image.png" title="image.png"><img src="/user_uploads/4715/iZFyBKvOvarXYC8Bv1kMYEpg/image.png"></a></div>



<a name="220779031"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779031" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779031">(Dec 23 2020 at 11:01)</a>:</h4>
<p>the "rust analyzer language server trace" one is empty, the "rust analyzer language server" one looks like <a href="https://gist.githubusercontent.com/lqd/9eab48bde9dfb8a402fa6d0f1d7f0be5/raw/3483c51a5ff8133637ff143a8887029f61fdb107/gistfile1.txt">https://gist.githubusercontent.com/lqd/9eab48bde9dfb8a402fa6d0f1d7f0be5/raw/3483c51a5ff8133637ff143a8887029f61fdb107/gistfile1.txt</a> but that didn't change with the RA_LOG env variable so I doubt it's what you asked for ? :)</p>



<a name="220779153"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779153" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779153">(Dec 23 2020 at 11:03)</a>:</h4>
<p>I'd guess the env var is not picked up?</p>



<a name="220779223"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779223" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779223">(Dec 23 2020 at 11:04)</a>:</h4>
<p>you know windows and env vars ^^ but it's there in all my terminals</p>



<a name="220779255"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779255" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779255">(Dec 23 2020 at 11:05)</a>:</h4>
<p>Try starting Code from a terminal if you're not doing that already</p>



<a name="220779267"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779267" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779267">(Dec 23 2020 at 11:05)</a>:</h4>
<p>I am doing that, from a terminal which sees the env var</p>



<a name="220779329"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779329" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779329">(Dec 23 2020 at 11:06)</a>:</h4>
<p>maybe a good old reboot will fix it <span aria-label="thumbs up" class="emoji emoji-1f44d" role="img" title="thumbs up">:thumbs_up:</span></p>



<a name="220779353"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779353" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779353">(Dec 23 2020 at 11:06)</a>:</h4>
<p>tbh, I don't exactly know how to debug this further</p>



<a name="220779363"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779363" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779363">(Dec 23 2020 at 11:06)</a>:</h4>
<p>serde's error... isn't really helpful</p>



<a name="220779370"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779370" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779370">(Dec 23 2020 at 11:06)</a>:</h4>
<p>right</p>



<a name="220779383"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779383" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779383">(Dec 23 2020 at 11:07)</a>:</h4>
<p>maybe trying to repro by building r-a locally</p>



<a name="220779399"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779399" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779399">(Dec 23 2020 at 11:07)</a>:</h4>
<p>Ideally, we need something like <a href="https://github.com/serde-rs/serde/issues/1908">https://github.com/serde-rs/serde/issues/1908</a> here</p>



<a name="220779413"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779413" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779413">(Dec 23 2020 at 11:07)</a>:</h4>
<p>There's also <a href="https://github.com/rust-analyzer/rust-analyzer/issues/6983#issuecomment-750132243">https://github.com/rust-analyzer/rust-analyzer/issues/6983#issuecomment-750132243</a> (but notice the different error)</p>



<a name="220779471"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779471" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779471">(Dec 23 2020 at 11:08)</a>:</h4>
<p>we might want to plug <a href="https://docs.rs/serde_path_to_error/0.1.4/serde_path_to_error/">https://docs.rs/serde_path_to_error/0.1.4/serde_path_to_error/</a></p>



<a name="220779597"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779597" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matklad <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779597">(Dec 23 2020 at 11:10)</a>:</h4>
<p><span class="user-mention" data-user-id="116113">@lqd</span> if you feel like building locally, the relvant bit of code is this: <a href="https://github.com/rust-analyzer/rust-analyzer/blob/0dec77abe744e5c4910b9ff0ce0c443cee425040/crates/rust-analyzer/src/bin/main.rs#L107-L108">https://github.com/rust-analyzer/rust-analyzer/blob/0dec77abe744e5c4910b9ff0ce0c443cee425040/crates/rust-analyzer/src/bin/main.rs#L107-L108</a></p>



<a name="220779601"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779601" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779601">(Dec 23 2020 at 11:10)</a>:</h4>
<p>I'll try rebooting in case there's some stray vscode process not picking the var, or holding up monday's update or something. if it's just the server, that should be debuggable locally more easily than if it needs a whole other plugin</p>



<a name="220779627"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220779627" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220779627">(Dec 23 2020 at 11:10)</a>:</h4>
<p>alright, thank you, I'll try and report back ^^</p>



<a name="220780299"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220780299" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220780299">(Dec 23 2020 at 11:22)</a>:</h4>
<p><span class="user-mention silent" data-user-id="133169">matklad</span> <a href="#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Failed.20to.20deserialize.20InitializeParams/near/220779471">said</a>:</p>
<blockquote>
<p>we might want to plug <a href="https://docs.rs/serde_path_to_error/0.1.4/serde_path_to_error/">https://docs.rs/serde_path_to_error/0.1.4/serde_path_to_error/</a></p>
</blockquote>
<p><a href="https://github.com/rust-analyzer/rust-analyzer/pull/7019">https://github.com/rust-analyzer/rust-analyzer/pull/7019</a></p>



<a name="220780313"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220780313" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220780313">(Dec 23 2020 at 11:23)</a>:</h4>
<p>Untested, tho'</p>



<a name="220781074"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220781074" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220781074">(Dec 23 2020 at 11:36)</a>:</h4>
<p>ah but is it <code>RA_LOG=info</code> instead of <code>RA_LOG=rust-analyzer=info</code> ? there's more logs with that but it is still the same InitializeParams data I pasted earlier, so trying to get more info from serde is still necessary; building locally it is, possibly with the above PR</p>



<a name="220783071"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220783071" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220783071">(Dec 23 2020 at 12:07)</a>:</h4>
<p>ok it doesn't repro on master</p>



<a name="220783650"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220783650" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220783650">(Dec 23 2020 at 12:16)</a>:</h4>
<p>and it doesn't repro either on <code>2020-12-21</code> (which I assume is <code>v0.2.424</code>) ... at least a local build is a workaround</p>



<a name="220792917"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220792917" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220792917">(Dec 23 2020 at 14:27)</a>:</h4>
<p>There's an extra patch on the <code>release</code> branch, maybe you got a binary that doesn't contain it? <a href="https://github.com/rust-analyzer/rust-analyzer/commit/5e2935e0b3bdcfaf95b4b5f86d4a0c4aec7588f5">https://github.com/rust-analyzer/rust-analyzer/commit/5e2935e0b3bdcfaf95b4b5f86d4a0c4aec7588f5</a></p>



<a name="220793241"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220793241" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220793241">(Dec 23 2020 at 14:31)</a>:</h4>
<p>I think this one is in the release &amp; tag I've tried <a href="https://github.com/rust-analyzer/rust-analyzer/releases/tag/2020-12-21">https://github.com/rust-analyzer/rust-analyzer/releases/tag/2020-12-21</a></p>



<a name="220793253"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220793253" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220793253">(Dec 23 2020 at 14:31)</a>:</h4>
<p>weird</p>



<a name="220793334"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220793334" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220793334">(Dec 23 2020 at 14:32)</a>:</h4>
<p>especially if others have some similar issues, albeit not the exact same error</p>



<a name="220939689"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220939689" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220939689">(Dec 25 2020 at 22:53)</a>:</h4>
<p>I just ran into the same issue</p>



<a name="220939692"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220939692" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220939692">(Dec 25 2020 at 22:54)</a>:</h4>
<p><span class="user-mention silent" data-user-id="203546">Laurențiu Nicola</span> <a href="#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Failed.20to.20deserialize.20InitializeParams/near/220792917">said</a>:</p>
<blockquote>
<p>There's an extra patch on the <code>release</code> branch, maybe you got a binary that doesn't contain it? <a href="https://github.com/rust-analyzer/rust-analyzer/commit/5e2935e0b3bdcfaf95b4b5f86d4a0c4aec7588f5">https://github.com/rust-analyzer/rust-analyzer/commit/5e2935e0b3bdcfaf95b4b5f86d4a0c4aec7588f5</a></p>
</blockquote>
<p>I'll try that, thanks</p>



<a name="220939747"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Failed%20to%20deserialize%20InitializeParams/near/220939747" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Joshua Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Failed.20to.20deserialize.20InitializeParams.html#220939747">(Dec 25 2020 at 22:55)</a>:</h4>
<p>yup, installing from nightly fixed it :) thanks!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>